package com.hxzy.mapper;

import com.hxzy.controller.admin.category.req.CategoryClassSearchReq;
import com.hxzy.controller.admin.category.resp.CategoryClassResp;
import com.hxzy.controller.mobile.category.resp.MobileCategoryClassResp;
import com.hxzy.entity.CategoryClass;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
* @author admin
* @description 针对表【category_class(商品分类表)】的数据库操作Mapper
* @createDate 2024-02-21 11:30:40
* @Entity com.hxzy.entity.CategoryClass
*/
public interface CategoryClassMapper extends BaseMapper<CategoryClass> {


    List<CategoryClassResp> search(@Param(value = "req") CategoryClassSearchReq req);

    /**
     * 商家分类列表
     * @param merchantId
     * @return
     */
    List<MobileCategoryClassResp> mobileList(Long merchantId);
}




